package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户观看视频对象 sys_user_watchthevideo
 * 
 * @author ruoyi
 * @date 2022-07-22
 */
@ApiModel(value = "SysUserWatchthevideo", description = "用户观看视频对象实体")
public class SysUserWatchthevideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty("编号")
    @Excel(name = "编号")
    private Long id;

    /** 用户id */
    @ApiModelProperty("用户id")
    @Excel(name = "用户id")
    private Long userId;

    /** 视频进度 */
    @ApiModelProperty("视频进度")
    @Excel(name = "视频进度")
    private Long videoProgress;

    /** 完成情况 */
    @ApiModelProperty("完成情况")
    @Excel(name = "完成情况")
    private String videoCondition;

    /** 视频id */
    @ApiModelProperty("视频id")
    @Excel(name = "视频id")
    private Long videoId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setVideoProgress(Long videoProgress) 
    {
        this.videoProgress = videoProgress;
    }

    public Long getVideoProgress() 
    {
        return videoProgress;
    }
    public void setVideoCondition(String videoCondition) 
    {
        this.videoCondition = videoCondition;
    }

    public String getVideoCondition() 
    {
        return videoCondition;
    }
    public void setVideoId(Long videoId) 
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("videoProgress", getVideoProgress())
            .append("videoCondition", getVideoCondition())
            .append("videoId", getVideoId())
            .toString();
    }
}
